package com.ruoyi.web.controller.classes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程管理对象 a_classes
 *
 * @author G
 * @date 2025-04-28
 */
public class AClasses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    private Long classId;

    /** 课程名 */
    @Excel(name = "课程名")
    private String className;

    /** 课程详情 */
    @Excel(name = "课程详情")
    private String classDetail;

    /** 课时 */
    @Excel(name = "课时")
    private String classTime;

    /** 所属专业 */
    @Excel(name = "所属专业")
    private String classMajor;

    /** 学分 */
    @Excel(name = "学分")
    private String classCrs;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String classFile;

    /** 文档个数 */
    @Excel(name = "文档个数")
    private Long classNumber;
  /** 试题路径 */
  @Excel(name = "试题路径")
  private String classExam;
//--------------------------------------------------
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }

    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }

    public void setClassDetail(String classDetail)
    {
        this.classDetail = classDetail;
    }

    public String getClassDetail()
    {
        return classDetail;
    }

    public void setClassTime(String classTime)
    {
        this.classTime = classTime;
    }

    public String getClassTime()
    {
        return classTime;
    }

    public void setClassMajor(String classMajor)
    {
        this.classMajor = classMajor;
    }

    public String getClassMajor()
    {
        return classMajor;
    }

    public void setClassCrs(String classCrs)
    {
        this.classCrs = classCrs;
    }

    public String getClassCrs()
    {
        return classCrs;
    }

    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }

    public void setClassFile(String classFile)
    {
        this.classFile = classFile;
    }

    public String getClassFile()
    {
        return classFile;
    }

    public void setClassNumber(Long classNumber)
    {
        this.classNumber = classNumber;
    }

    public Long getClassNumber()
    {
        return classNumber;
    }
  public void setClassExam(String classExam)
  {
    this.classExam = classExam;
  }

  public String getClassExam()
  {
    return classExam;
  }


  @Override
  public String toString() {
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
      .append("classId", getClassId())
      .append("className", getClassName())
      .append("classDetail", getClassDetail())
      .append("classTime", getClassTime())
      .append("classMajor", getClassMajor())
      .append("classCrs", getClassCrs())
      .append("teacherId", getTeacherId())
      .append("classFile", getClassFile())
      .append("classNumber", getClassNumber())
      .append("classExam", getClassExam())
      .toString();
  }
}
